package com.kun;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient //表明服务提供者
public class ServiceApplication {

    // 修改端口，同时启动两个，方便后面做负载均衡
    public static void main(String[] args) {
        SpringApplication.run(ServiceApplication.class, args);
    }

}
